package org.iks.common.exception;


import org.iks.common.ResultCode;

/**
 * @author kzou
 * @date 2023/12/19 22:23
 * @description: 自定义请求参数异常
 */
public class RequestParameterException extends BusinessException {

    public RequestParameterException(String errorMessage) {
        super(errorMessage, ResultCode.PARAMETER_EXCEPTION.getCode());
    }

    public RequestParameterException() {
        super(ResultCode.PARAMETER_EXCEPTION.getMessage(), ResultCode.PARAMETER_EXCEPTION.getCode());
    }
}
